Crate camo[][src]

A crate for representing and creating Rust type definitions as values, i. e. a subset of the Rust abstract syntax.

Macros

export

Convenience macro for converting a list of type definitions into a list of foreign types.

Structs

Field

Represents a named struct field, e. g: <name>: <ty>

Struct

Represents a struct definition.

Enums

Builtin

The built-in types.

Type

Represents a type use, e. g. in a struct definition, function definition, or type alias.

Traits

Camo

Describes how to construct a type definition for a given type.

IntoType

Describes how to represent the source type as a Type (type use value).